<div style="padding: 5px 0; ">
	   <span><a href="group.php?id=<{$group.id}>&amp;o=p">发表主题</a></span>
	</div>

<{$pagenav}>
<div class="gp-list">
    <form name="frm" id="frm" action="action.topic.php" method="post" >
    	<table width="100%" border="0" cellspacing="0">
    		<tr class="head">
    			<th width="58%">标题</th>	
    			<th width="17%">发表</th>			
    			<th width="12%">回复/查看</th>
    			<th width="15%">更新</th>
    		</tr>
    		<{if $threads}>
        		<{if $threads.tops }>
            		<{foreachq item=item from=$threads.tops }>
            		<tbody>
            			<tr class="<{cycle values='odd, even'}>">
            				<td>
                				<{$item.threads_icon}>
                				<{if $item.column_id}>
                				    [<a href="groups.php?o=f&amp;id=<{$item.group_id}>&amp;cid=<{$item.column_id}>"><{$item.column_name}></a>]
                				<{/if}>
                				<a href="viewtopic.php?tid=<{$item.tid}>"><{$item.threads_subject}></a>
                				<{if $item.threads_displaytop }><em>顶<{$item.threads_displaytop}></em><{/if}>
                				<{if $item.threads_digest }><em>精</em><{/if}>
                				<{if $item.threads_attachments}><em>附</em><{/if}>
            				</td>
            				<td>
                                <div>
                                    <a href="<{$groups_userinfo_url}><{$item.uid}>">
                				        <img src="<{$xoops_url}>/uploads/<{$item.author_avatar}>" alt="<{$item.author_nickname}>" />
                				    </a>
                                    <a href="<{$groups_userinfo_url}><{$item.uid}>">
                                        <{$item.author_nickname}>
                                    </a>
                                    <small><{$item.create_time}></small>
                                    <{$item.author_online}>
                                </div>
            				</td>
            				<td align="center" class="num"><{$item.threads_replies}>/<{$item.threads_views}></td>
            				<td>
                                <div>
                                    <a href="<{$item.threads_last_uid}>">
                				        <img src="<{$xoops_url}>/uploads/<{$item.poster_avatar}>" alt="<{$item.poster_nickname}>" />
                				    </a>
                                    <a href="<{$item.threads_last_uid}>">
                                        <{$item.poster_nickname}>
                                    </a>
                                    <small><a href="viewtopic.php?tid=<{$item.tid}>&amp;go=last#last" ><{$item.update_time}></a></small>
                                    <{$item.poster_online}>
                                </div>
                			</td>
            			</tr>
            		</tbody>
            		<{/foreach}>
                    <tbody>
                		<tr class="head">
                			<td colspan="4">主题</td>
                		</tr>
            		</tbody>
        		<{/if}>
    		
        		<{if $threads.list }>
            		<{foreachq item=item from=$threads.list name="list"}>
            	    <tbody>
            			<tr class="<{cycle values='odd, even'}>">
            				<td>
                                <{$item.tid}>
                				<{$item.threads_icon}>
                				<{if $item.column_id}>
                				    [<a href="groups.php?o=f&amp;id=<{$item.group_id}>&amp;cid=<{$item.column_id}>"><{$item.column_name}></a>]
                				<{/if}>
                				<a href="viewtopic.php?tid=<{$item.tid}>"><{$item.threads_subject}></a>
                				<{if $item.threads_digest }><em>精</em><{/if}>
                				<{if $item.threads_attachments}><em>附</em><{/if}>
            				</td>
            				<td>
                                <div>
                                    <a href="<{$item.uid}>">
                				        <img src="<{$xoops_url}>/uploads/<{$item.author_avatar}>" alt="<{$item.author_nickname}>" />
                				    </a>
                                    <a href="<{$item.uid}>">
                                        <{$item.author_nickname}>
                                    </a>
                                    <small><{$item.create_time}></small>
                                    <{$item.author_online}>
                                </div>
            				</td>
            				<td align="center" class="num"><{$item.threads_replies}>/<{$item.threads_views}></td>
            				<td>
                                <div>
                                    <a href="<{$item.threads_last_uid}>">
                				        <img src="<{$xoops_url}>/uploads/<{$item.poster_avatar}>" alt="<{$item.poster_nickname}>" />
                				    </a>
                                    <a href="<{$item.threads_last_uid}>">
                                        <{$item.poster_nickname}>
                                    </a>
                                    <small><a href="viewtopic.php?tid=<{$item.tid}>&amp;go=last#last" ><{$item.update_time}></a></small>
                                    <{$item.poster_online}>
                                </div>
                			</td>
            			</tr>
            		</tbody>
            		<{/foreach}>
        		<{/if}>
        		
        <{else}>
                <tr>
                    <td colspan="4"><div>抱歉! 该群组还没有任何主题!</div></td>
                </tr>
        <{/if}>
    		
    	</table>
    </form>
</div>
<{$pagenav}>